package com.cx.common;

import java.io.Serializable;

public class BaseEntity implements Serializable {
    private Integer pageNum;//当前页码
    private Integer pageSize;//每页多少条数据

    public BaseEntity() {
        this.pageNum = 1;
        this.pageSize = 16;
    }

    public BaseEntity(Integer pageSize) {
        this.pageNum = 1;
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
